
import { setToken, getToken } from '@/utils/token.js'
export const ReplyModule = {
  namespaced: true,
  state: {
    artId: '',
    replyComment: null || JSON.parse(getToken('replyComment'))
  },
  mutations: {
    setArtIdMutations (state, val) {
      state.artId = val
    },
    setreplyCommentMutations (state, val) {
      state.replyComment = val
      setToken('replyComment', JSON.stringify(state.replyComment))
    }
  }
}
